Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 6 - Printing Resources / Printing Resources Reference
Constants and Data Types


Raster Package Controls Structure

The raster package controls structure, of data type gxRasterPackageControlsRec, defines the format of the raster package controls ('ropt') resource.

struct gxRasterPackageControlsRec {
   short    startPageStringID;
   short    formFeedStringID;
   short    forwardMax;
   gxStandardNumberRec
            forwardLineFeed;
   short    reverseMax;
   gxStandardNumberRec
            reverseLineFeed;
};

typedef struct gxRasterPackageControlsRec 
gxRasterPackageControlsRec, *gxRasterPackageControlsPtr, 
**gxRasterPackageControlsHdl;
Field Description
startPageStringID

The ID of the wide string ('wstr') to send to the device at the start of each page. Wide strings are strings that require a 16-bit, short integer value to define their length. The length value is stored in the first 2 bytes of the string.
formFeedStringID

The ID of the wide string ('wstr') to send to the device to generate a form feed.
forwardMax
The maximum amount of a forward line feed.
forwardLineFeed

The standard number structure that defines how to express the forward line-feed value.
reverseMax
The maximum amount of a reverse line feed.
reverseLineFeed
The standard number structure that defines how to express the reverse line-feed value.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help